<template>
  <view :style="themeColor">
    <view class="page">
      <fu-custom bgColor="bg-white" :isBack="true" :isBottom="true">
        <block slot="content">特色美食</block>
      </fu-custom>
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout">
        <view class='flex flex-wrap align-center justify-between flex-sub tesemeishi_fd1_0'>
          <view class='flex flex-wrap align-center'>
            <image class='tesemeishi_fd1_0_c0_c0' mode="aspectFill" :src='STATIC_URL+"518.png"'></image>
            <view class='flex flex-direction flex-wrap align-stretch'>
              <text class='tesemeishi_fd1_0_c0_c1_c0'>#特色美食</text>
              <text class='tesemeishi_fd1_0_c0_c1_c1'>1809条内容</text>
            </view>
          </view>
          <button class='tesemeishi_fd1_0_c1'>+ 关注</button>
        </view>
        <view class='flex flex-wrap align-center tesemeishi_fd1_1'>
          <view class='flex flex-wrap align-center'>
            <view>
              <benben-flex-tabs class-name='tesemeishi_benbenTabsfd1_1_c0_c0' v-model="tabsTypefd1_1_c0_c0"
                ref="benben_tabsfd1_1_c0_c0" select-mark="benben_tabsfd1_1_c0_c0" key="benben_tabsfd1_1_c0_c0"
                :open-title-type='false' :open-sticky='true' :top='0' :is-show-content='false' :scrollspy='false'
                :tabs-info.sync="tabsInfofd1_1_c0_c0">

                <scroll-view @scroll="tabsInfofd1_1_c0_c0.scrollX = $event.detail.scrollLeft"
                  id="benben_tabsfd1_1_c0_c0" class="benben-tabs" style="width:280rpx" :scroll-x="true"
                  :scroll-left.sync="tabsInfofd1_1_c0_c0.moveX" scroll-with-animation="all .3s ease">
                  <view class="benben-tabs-content" id="benben_tabsfd1_1_c0_c0-content">
                    <view id="benben_tabsfd1_1_c0_c0-title"
                      class="benben-tabs-title flex flex align-center justify-around">
                      <view
                        :class="{ 'checkTitlefd1_1_c0_c0': tabsTypefd1_1_c0_c0 == '1', 'flex flex-wrap align-center': true }"
                        @tap="tabsTypefd1_1_c0_c0 = '1'" :id="`benben_tabsfd1_1_c0_c0-title-item-${'1'}`">

                        <text>热门</text>

                      </view>
                      <view
                        :class="{ 'checkTitlefd1_1_c0_c0': tabsTypefd1_1_c0_c0 == '4', 'flex flex-wrap align-center': true }"
                        @tap="tabsTypefd1_1_c0_c0 = '4'" :id="`benben_tabsfd1_1_c0_c0-title-item-${'4'}`">

                        <text>最新</text>

                      </view>
                    </view>
                    <view :style="{ left: tabsInfofd1_1_c0_c0.lineleft, maxWidth: tabsInfofd1_1_c0_c0.lineWidth ,}"
                      id="benben_tabsfd1_1_c0_c0-line"
                      class="benben-tabs-line flex benben-flex-tabs-line tesemeishi_linefd1_1_c0_c0"></view>
                  </view>
                </scroll-view>

              </benben-flex-tabs>

            </view>
          </view>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout tesemeishi_flex_2">
        <view class='flex flex-wrap align-center justify-between tesemeishi_fd2_0'>
          <view class='flex flex-direction flex-wrap align-stretch tesemeishi_fd2_0_c0'>
            <view class='flex flex-wrap align-center tesemeishi_fd2_0_c0_c0'>
              <view class='flex align-center self-center tesemeishi_fd2_0_c0_c0_c0'>
                <image class='tesemeishi_fd2_0_c0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"500.png"'></image>
                <text class='tesemeishi_fd2_0_c0_c0_c0_c1'>西安市</text>
              </view>
              <image class='tesemeishi_fd2_0_c0_c0_c1' mode="aspectFit" :src='STATIC_URL+"501.png"'></image>
              <image class='tesemeishi_fd2_0_c0_c0_c2' mode="aspectFill" :src='STATIC_URL+"346.png"'></image>
            </view>
            <view class='tesemeishi_fd2_0_c0_c1'>
              <text class='tesemeishi_fd2_0_c0_c1_c0' v-if=" type=='1'">线上</text><text
                class='tesemeishi_fd2_0_c0_c1_c0_1' v-if=" type=='2'">线上</text>
              <text class='tesemeishi_fd2_0_c0_c1_c1'>星愿救助站，流浪猫流浪狗领养</text>
            </view>
            <view class='flex flex-wrap align-center self-center justify-between tesemeishi_fd2_0_c0_c2'>
              <view class='flex flex-wrap align-center'>
                <image class='tesemeishi_fd2_0_c0_c2_c0_c0' mode="aspectFit" :src='STATIC_URL+"297.jpg"'></image>
                <text class='tesemeishi_fd2_0_c0_c2_c0_c1'>小恩与法时空</text>
              </view>
              <view class='flex flex-wrap align-center self-center'>
                <text class='fu-iconfont2  tesemeishi_fd2_0_c0_c2_c1_c0'>&#xe684;</text>
                <text class='tesemeishi_fd2_0_c0_c2_c1_c1'>242</text>
              </view>
            </view>
          </view>
        </view>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        "tabsInfofd1_1_c0_c0": {
          lineleft: '',
          lineWidth: '',
          moveX: 0,
          scrollX: 0,
          PageScrollX: 0
        },
        "tabsTypefd1_1_c0_c0": "",
        "type": "1"
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {

    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {

    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #F8F8F8;
    background-size: 100% auto;
  }

  .tesemeishi_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .tesemeishi_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333333;
    line-height: 88rpx;
  }

  .tesemeishi_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .tesemeishi_fd0_0_c0 {
    width: 120rpx;
  }

  .tesemeishi_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .tesemeishi_linefd1_1_c0_c0 {
    background: url(image-path('502.png')) no-repeat;
    width: 100rpx;
    height: 8rpx;
    top: 60rpx;
    background-size: 100% auto !important;
  }

  .checkTitlefd1_1_c0_c0 {
    font-weight: 700 !important;
    font-size: 32rpx !important;
    color: rgba(51, 51, 51, 1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
  }

  ::v-deep .tesemeishi_benbenTabsfd1_1_c0_c0 {
    background: rgba(255, 255, 255, 0.6);
    width: 750rpx;
    height: 80rpx;
    white-space: nowrap;
    text-align: center;
    color: var(--benbenFontColor6);
  }

  .tesemeishi_fd1_1 {
    background: var(--benbenbgColor1);
    background-size: 100% auto;
    padding: 24rpx 0rpx 24rpx 0rpx;
  }

  .tesemeishi_fd1_0_c1 {
    border: 1px solid #FF8533;
    background: rgba(255, 133, 51, 0.12);
    border-radius: 28rpx 28rpx 28rpx 28rpx;
    width: 156rpx;
    line-height: 60rpx;
    font-size: 24rpx;
    color: var(--benbenFontColor5);
    height: 56rpx;
  }

  .tesemeishi_fd1_0_c0_c1_c1 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 500;
    margin: 12rpx 0rpx 0rpx 0rpx;
  }

  .tesemeishi_fd1_0_c0_c1_c0 {
    color: #333333;
    font-size: 32rpx;
    font-weight: 700;
  }

  .tesemeishi_fd1_0_c0_c0 {
    width: 112rpx;
    height: 112rpx;
    border-radius: 16rpx;
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .tesemeishi_fd1_0 {
    border-bottom: 10px solid rgba(246, 247, 249, 1);
    background: var(--benbenbgColor1);
    background-size: 100% auto;
    padding: 24rpx 24rpx 24rpx 24rpx;
  }

  .tesemeishi_flex_2 {
    background: var(--benbenbgColor1);
    padding: 0rpx 24rpx 0rpx 24rpx;
    background-size: 100% auto;
  }

  .tesemeishi_fd2_0_c0_c2_c1_c1 {
    color: #333333;
    font-size: 22rpx;
    font-weight: 400;
  }

  .tesemeishi_fd2_0_c0_c2_c1_c0 {
    font-size: 22rpx;
    margin: 0rpx 8rpx 0rpx 0rpx;
  }

  .tesemeishi_fd2_0_c0_c2_c0_c1 {
    color: #333333;
    font-size: 24rpx;
    font-weight: 400;
    margin: 0rpx 0rpx 0rpx 16rpx;
  }

  .tesemeishi_fd2_0_c0_c2_c0_c0 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 100rpx;
  }

  .tesemeishi_fd2_0_c0_c2 {
    padding: 20rpx 12rpx 10rpx 12rpx;
  }

  .tesemeishi_fd2_0_c0_c1_c1 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 700;
    margin: 0rpx 0rpx 0rpx 12rpx;
  }

  .tesemeishi_fd2_0_c0_c1_c0_1 {
    border: 0.5px solid rgba(235, 55, 55, 1);
    background: #FEEFEF;
    width: 64rpx;
    height: 32rpx;
    line-height: 32rpx;
    background-size: 100% auto;
    color: rgba(235, 55, 55, 1);
    font-size: 22rpx;
    padding: 5rpx 8rpx 5rpx 8rpx;
    border-radius: 8rpx;
  }

  .tesemeishi_fd2_0_c0_c1_c0 {
    border: 0.5px solid rgba(34, 135, 236, 1);
    background: rgba(228, 240, 253, 1);
    width: 64rpx;
    height: 32rpx;
    line-height: 32rpx;
    background-size: 100% auto;
    color: var(--benbenFontColor4);
    font-size: 22rpx;
    padding: 5rpx 8rpx 5rpx 8rpx;
    border-radius: 8rpx;
  }

  .tesemeishi_fd2_0_c0_c1 {
    padding: 8rpx 8rpx 0rpx 8rpx;
  }

  .tesemeishi_fd2_0_c0_c0_c2 {
    width: 344rpx;
    height: 346rpx;
    border-radius: 16rpx 16rpx 0rpx 0rpx;
  }

  .tesemeishi_fd2_0_c0_c0_c1 {
    width: 36rpx;
    height: 36rpx;
    border-radius: 0rpx;
    position: absolute;
    z-index: 9;
    right: 16rpx;
    top: 16rpx;
  }

  .tesemeishi_fd2_0_c0_c0_c0_c1 {
    color: #FFFFFF;
    font-size: 22rpx;
    font-weight: 400;
  }

  .tesemeishi_fd2_0_c0_c0_c0_c0 {
    width: 20rpx;
    height: 24rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 8rpx 0rpx 0rpx;
  }

  .tesemeishi_fd2_0_c0_c0_c0 {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    bottom: 0rpx;
    z-index: 9;
    border-radius: 12rpx 12rpx 12rpx 0rpx;
    height: 40rpx;
    padding: 0rpx 10rpx 0rpx 10rpx;
  }

  .tesemeishi_fd2_0_c0_c0 {
    position: relative;
  }

  .tesemeishi_fd2_0_c0 {
    background: #FFFFFF;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    margin: 0rpx 0rpx 20rpx 0rpx;
    padding: 0rpx 0rpx 12rpx 0rpx;
    box-shadow: 0rpx 3rpx 30rpx #E8E8E8;
    width: 344rpx;
  }

  .tesemeishi_fd2_0 {
    margin: 0rpx 0rpx 0rpx 0rpx;
  }
</style>